//---------------------------------------------------------------------------

#ifndef TProfileEditFormH
#define TProfileEditFormH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "AdvGrid.hpp"
#include "AdvListV.hpp"
#include "BaseGrid.hpp"
#include <ComCtrls.hpp>
#include <Grids.hpp>
#include <ExtCtrls.hpp>
//---------------------------------------------------------------------------
class TProfileEditForm : public TForm
{
__published:	// IDE-managed Components
	TAdvListView *ProfileAdvListView;
	TAdvStringGrid *SectionAdvStringGrid;
	TButton *NewProfileButton;
	TButton *CopyProfileButton;
	TButton *DeleteProfileButton;
	TButton *OKButton;
	TButton *CancelButton;
	TButton *InsertSectionButton;
	TButton *DeleteSectionButton;
	TButton *UpSectionButton;
	TButton *DownSectionButton;
	TLabeledEdit *ProfileNameLabeledEdit;
	void __fastcall NewProfileButtonClick(TObject *Sender);
	void __fastcall CancelButtonClick(TObject *Sender);
	void __fastcall ProfileNameLabeledEditChange(TObject *Sender);
private:	// User declarations
	TListItem *Item;
	void __fastcall NewProfile(void);
	void __fastcall DeleteProfile(void);
	void __fastcall CopyProfile(void);
	void __fastcall InsertSection(void);
	void __fastcall DeleteSection(void);
	void __fastcall UpSection(void);
	void __fastcall DownSection(void);
public:		// User declarations
	__fastcall TProfileEditForm(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TProfileEditForm *ProfileEditForm;
//---------------------------------------------------------------------------
#endif
